function ie = isempty(A)
% transio::isempty  - returns false if prod(dims) > 0
%
% FORMAT:       IE = isempty(obj)
%
% Input fields:
%
%       obj         transio object
%
% Output fields:
%
%       IE          isempty (false if prod(dims) > 0)

% Version:  v0.8a
% Build:    9102321
% Date:     Oct-23 2009, 9:47 PM CEST
% Author:   Jochen Weber, SCAN Unit, Columbia University, NYC, NY, USA
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% currently only numeric types supported, so YES!!!
try
    stio = struct(htio);
    ie = (prod(stio.DataDims) == 0);
catch
    error( ...
        'transio:BadArgument', ...
        'Invalid transio object.' ...
    );
end

